package com.hiof.beans;

/**
 * Created by IntelliJ IDEA.
 * User: manish
 * Date: 3/23/12
 * Time: 4:04 PM
 * To change this template use File | Settings | File Templates.
 */
public class Route {
    private int routeId;
    private String routeName;
    private String year;
    private String mapPath;
    private boolean isCurrent;

    public Route(){}

    public Route(int routeId, String routeName, String year, String mapPath, boolean current) {
        this.routeId = routeId;
        this.routeName = routeName;
        this.year = year;
        this.mapPath = mapPath;
        isCurrent = current;
    }

    public int getRouteId() {
        return routeId;
    }

    public void setRouteId(int routeId) {
        this.routeId = routeId;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMapPath() {
        return mapPath;
    }

    public void setMapPath(String mapPath) {
        this.mapPath = mapPath;
    }

    public boolean isCurrent() {
        return isCurrent;
    }

    public void setCurrent(boolean current) {
        isCurrent = current;
    }
    public String toString(){
        return routeName;
    }
}
